package com.gdyx.app.web.svc;

import com.gdyx.app.web.model.MpsUserRole;

import java.util.List;
import java.util.Map;

/**
 * Created by Y_Coffee on 2017/8/3.
 */
public interface MpsUserRoleSvc {
    void save(MpsUserRole o);

    void saveOrUpdate(MpsUserRole o);

    void delete(String id);

    void update(MpsUserRole o);

    int count(Map<String, Object> map);

    List<MpsUserRole> findUserRoles(Map<String, Object> map);

    List<MpsUserRole> findUserRoleByUid(String id);

    List<MpsUserRole> findUserRoleByRid(String id);

    void deleteByUid(String id);

    void deleteByRid(String id);

    void setUserRole(String ids,String roleId,String Ownerid);


}
